home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / MPW / GCC 1.37.1r15 / Tests / poor-short.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-16  |  180 b   |  15 lines  |  [TEXT/MPS ]

  1. /* A function declared as returning a short should be able to just fill in
  2.    half of D0. */
  3.  
  4. short **glob;
  5.  
  6. short foo(short **x)
  7. {
  8.     return **x;
  9. }
  10.  
  11. main()
  12. {
  13.     **glob = foo(glob);
  14. }
  15.